package com.freshmarket.freshmarket.controller.form;

import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;

@Data
@Validated
public class OrdersPageForm {
    @Min(1)
    private Integer ordersId;
    @Min(1)
    private Integer userId;
    @Min(2)
    private String userName;
    @Min(8)
    private String userPhone;
    @Min(2)
    private String ordersStatus;
    @Min(1)
    private Double ordersTotalprice;
    @Min(1)
    private Double ordersTotalpriceActual;
    @Min(8)
    private String ordersPickupPhone;
    @Min(2)
    private String ordersPickupAddress;

    private String ordersPickupTime;

    private String ordersPickupTimeActual;
}
